#!/bin/bash
# date: Mon Aug  1 13:34:54 CST 2022
# author: xxr

#while read -p "input a number: " num
while true
do
read -p "input a number: " num
case $num in
	0) 
		echo "Bye"
		break
		;;
	1)
		echo "hello"
		;;
	2)
		echo "world"
		;;
	*)
		echo "hello world"
esac
done
